#include "ibmsgv_api.h"
#include "IDL_testib2_ibpts1_request.dsc.h"
#include "IDL_testib2_ibpts1_response.dsc.h"

funcIbmsgvTransmain transmain ;

funcIbasSomain somain ;
int somain( struct HttpBuffer *req_body , struct HttpBuffer *rsp_body , struct IbasAddonFiles *addon_files )
{
	testib2_ibpts1_request	req_st ;
	testib2_ibpts1_response	rsp_st ;
	
	int			nret = 0 ;
	
	INFOLOGG( "ENTER TESTTPS1" );
	
	memset( & req_st , 0x00 , sizeof(testib2_ibpts1_request) );
	memset( & rsp_st , 0x00 , sizeof(testib2_ibpts1_response) );
	nret = IBMSGVReceiver_XML( req_body , & DSCDESERIALIZE_XML_testib2_ibpts1_request_V , & req_st
				, rsp_body , & DSCSERIALIZE_XML_DUP_testib2_ibpts1_response_V , & rsp_st
				, & transmain , addon_files ) ;
	if( nret )
	{
		ERRORLOGG( "IBMSGVReceiver_XML failed[%d]" , nret );
	}
	else
	{
		INFOLOGG( "IBMSGVReceiver_XML ok" );
	}
	
	INFOLOGG( "LEAVE TESTTPS1" );
	
	return nret;
}

